package public

import "time"

// Points 积分
type Points struct {
	ID        uint      `json:"id" form:"id" gorm:"primarykey;column:id;"`       // 主键ID
	Uid       uint      `json:"uid" form:"uid" gorm:"column:uid;"`               // 用户ID
	Types     uint      `json:"types" form:"types" gorm:"column:types;"`         // 获取类型
	CreatedAt time.Time `json:"created_at" form:"created_at" gorm:"created_at;"` // 获取时间
	Points    uint      `json:"points" form:"points" gorm:"points;"`             // 积分
}

// TableName 在线客服用户回答表 fd_points_record
func (Points) TableName() string {
	return "fd_user_points_record"
}
